package top.hcode.hoj.pojo.dto.coll;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import top.hcode.hoj.pojo.dto.BasePageDTO;

import javax.validation.constraints.NotNull;

/**
 * @author orangej
 * @since 2025/1/26
 */
@Data
@ApiModel(description = "查询学生活动成绩DTO")
public class QueryCollStudentScoreDTO extends BasePageDTO {
    @NotNull(message = "活动id不能为空")
    @ApiModelProperty(value = "活动ID", required = true)
    private String collId;

    @ApiModelProperty(value = "学生id")
    private String userId;

    @ApiModelProperty(value = "学校ID")
    private String schoolId;
    
    @ApiModelProperty(value = "年级ID")
    private String gradeId;
    
    @ApiModelProperty(value = "班级ID")
    private String classId;

    @ApiModelProperty(value = "关键字查询(用户名/真实姓名)")
    private String keyword;

    @ApiModelProperty(value = "判题状态：0 未判题 1 正在判题 2 判题完成")
    private Integer judgeState;

    @ApiModelProperty(value = "最小客观题得分")
    private Integer minObjectiveScore;  // 客观题得分
    
    @ApiModelProperty(value = "最小时总得分")
    private Integer minTotalScore;      // 总得分

    @ApiModelProperty(value = "最小答题时长(分钟)")
    private Integer minUsedMinutes;     // 答题时长
}
